vm-assist: prepare for discontiguous used bit numbers
authorJan Beulich <jbeulich@suse.com>
Mon, 23 Mar 2015 15:49:42 +0000 (16:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 23 Mar 2015 15:49:42 +0000 (16:49 +0100)
commit88a2372c6ba44dd42b915a95a823cf9d4d260e25
tree8db377b2db2b0705f9259f3fd39eeb3b6a4d56a5
parent78d22f2dfcff39336ba0861f4bb5f8d0f380b7d4
vm-assist: prepare for discontiguous used bit numbers

Since the a flag will get assigned a value discontiguous to the
existing ones (in order to preserve the low bits, as only those are
currently accessible to 32-bit guests), this requires a little bit of
rework of the VM assist code in general: An architecture specific
VM_ASSIST_VALID definition gets introduced (with an optional compat
mode counterpart), and compilation of the respective code becomes
conditional upon this being defined (ARM doesn't wire these up and
hence doesn't need that code).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/common/compat/kernel.c
xen/common/domain.c
xen/common/kernel.c
xen/include/asm-x86/config.h
xen/include/public/xen.h
xen/include/xen/lib.h